//
//  userModel.m
//  Estate
//
//  Created by heyong on 16/9/19.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import "TypeModel.h"

@implementation TypeModel
+ (instancetype)shareInstance {
    static TypeModel *_auserModel = nil;
    static dispatch_once_t oncePredicate;
    dispatch_once(&oncePredicate, ^{
        _auserModel = [[self alloc] init];
    });
    return _auserModel;
}

- (NSArray *)userTypeArray{
    if(!_userTypeArray) {
        _userTypeArray=[NSArray arrayWithObjects:@"USER_01",@"USER_03",@"USER_07",@"LEADER_01",@"1",@"2",@"CONSTRACT_01",@"CONSTRACT_02",@"CONSTRACT_03",@"CONSTRACT_04",@"CONSTRACT_05",@"CONSTRACT_06",@"CONSTRACT_07",@"LEADER_01",@"BUILD_01",@"BUILD_02",@"CONSTRACT_08", nil];
    }
    return _userTypeArray;
}

- (NSArray *)typeArray{
    if(!_typeArray){
        _typeArray=[NSArray arrayWithObjects:@"BUILD_01",@"BUILD_02",nil];
    }
    return _typeArray;
}

- (NSArray *)typeArrayNoWeather {
    if(!_typeArrayNoWeather){
        _typeArrayNoWeather=[NSArray arrayWithObjects:@"CONSTRACT_08", nil];
    }
    return _typeArrayNoWeather;
}


@end


